package com.telit.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @Auther amy
 * @Describe
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SimpleTrackDTO implements Serializable{

    @NotNull(message = "任务id不能为空")
    private Long taskId;

    @NotNull(message = "执行人id不能为空")
    private Long forestkeeperId;

    @NotBlank(message = "巡护id不能为空")
    private String trackId;
}
